package com.codehub.entity.dto;

public class SessionWebUserDto {
    private String nickName;
    private String province;
    private String userId;
    private Boolean isAdmin;


    public SessionWebUserDto() {
    }

    public SessionWebUserDto(String nickName, String province, String userId, Boolean isAdmin) {
        this.nickName = nickName;
        this.province = province;
        this.userId = userId;
        this.isAdmin = isAdmin;
    }

    /**
     * 获取
     * @return nickName
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * 设置
     * @param nickName
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 获取
     * @return province
     */
    public String getProvince() {
        return province;
    }

    /**
     * 设置
     * @param province
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * 获取
     * @return userId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return isAdmin
     */
    public Boolean getIsAdmin() {
        return isAdmin;
    }

    /**
     * 设置
     * @param isAdmin
     */
    public void setIsAdmin(Boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String toString() {
        return "SessionWebUserDto{nickName = " + nickName + ", province = " + province + ", userId = " + userId + ", isAdmin = " + isAdmin + "}";
    }
}
